package com.dormitory.myt.sushecontroller;

import com.dormitory.myt.en.Student;

import java.time.ZoneId;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.function.BiFunction;
import java.util.function.Function;
import java.util.function.Predicate;
import java.util.function.Supplier;
import java.util.stream.Collector;
import java.util.stream.Collectors;
import java.util.stream.Stream;

public class testt {

    public int a(){
        String s[]=new String[]{"1","2"};
        int a []=new int[]{1,2,3};

        return 1;
    }

    public static void main(String[] args) {
        List <String> list = new ArrayList<>();
        list.add("wzx，12");
        list.add("wzxz，33");
        list.add("www，21");
        list.add("q4weq，26");
        list.add("afas，27");
//       Map<String, Integer> collect = list.stream().filter(s -> Integer.parseInt(s.split("，")[1]) >= 24)
//                .collect(Collectors.toMap(s -> s.split("，")[0], s -> Integer.parseInt(s.split("，")[1])));
//        System.out.println(collect);
//        String s[]=new String[]{"1","2","3","4","5","6","7","8","9","11"};
//        Arrays.sort(s);
//        list.forEach(System.out::println);
//        list.stream().forEach(System.out::println);
//        System.out.println(Arrays.toString(s));
//    list.stream().map(Student::new).forEach(System.out::println);
        ZoneId zoneId = ZoneId.systemDefault();
        ZoneId zoneId1 = ZoneId.of("Asia/Shanghai");
        System.out.println(zoneId1);
    }




}
